import request from '@/router/axios';
//  获取列表接口
export const getList=(page,size,params)=>{
    return request({
        url:'/api/mgr/listOffLineStore',
        method:'post',
        params: {
            ...params,
            page,
            size,
        }
    })
}
//审核线下店
export const reviewOffLineStore=(userId,status)=>{
    return request({
        url:'/api/mgr/reviewOffLineStore',
        method:'post',
        meta: {
            isSerialize: true,
        },
        data:{
            userId,
            status
        }
    })
}

//配货
export const distributionSubmit=(data)=>{
    return request({
        url:'/api/stocks/distribution',
        method:'post',
        meta: {
            isSerialize: true,
        },
        data:data
    })
}
